package org.scirp.ijmis.service.personpaper.impl;

import org.scirp.ijmis.dao.personpaper.ITypeSettingDAO;
import org.scirp.ijmis.po.personpaper.TypeSetting;
import org.scirp.ijmis.service.personpaper.ITypeSettingService;

public class TypeSettingServiceImpl implements ITypeSettingService {
	private ITypeSettingDAO typeSettingDAO;

	public boolean saveOrUpdateTypeSetting(TypeSetting typeSetting) {
		return typeSettingDAO.saveOrUpdateTypeSetting(typeSetting);
	}

	public TypeSetting selectByPaperId(Long paperId) {
		return typeSettingDAO.selectByPaperId(paperId);
	}

	public boolean deleteTypeSetting(Long typeSettingId) {
		return typeSettingDAO.deleteTypeSetting(typeSettingId);
	}

	public ITypeSettingDAO getTypeSettingDAO() {
		return typeSettingDAO;
	}

	public void setTypeSettingDAO(ITypeSettingDAO typeSettingDAO) {
		this.typeSettingDAO = typeSettingDAO;
	}

}
